{% extends 'mathtesthome.html' %}
{% block body %}
<div class="main-content container">


    <div class="row">
        <div class="col-md-12">
            <div class="panel panel-default">
                <div class="panel-heading panel-heading-divider">{{title}}<span
                        class="panel-subtitle"></span>
                </div>
                <div class="panel-body pl-sm-5">
                    <div class="form-group row">
                        <label class="col-12 col-sm-3 col-form-label text-sm-right">试卷名</label>
                        <label class="col-12 col-sm-3 col-form-label text-sm-right">创建时间</label>
                        <label class="col-12 col-sm-3 col-form-label text-sm-right">得分</label>

                    </div>

                    {% for object in object_list %}
                    <div class="form-group row">
                        <label class="col-12 col-sm-3 col-form-label text-sm-right"> <a href="{%url 'mathtest:examdetail' object.id%}">{{object.name}}</a> </label>
                        <label class="col-12 col-sm-3 col-form-label text-sm-right">{{object.testdate}}</label>
                         <label class="col-12 col-sm-3 col-form-label text-sm-right"> {{object.score}}</label>

                    </div>
                    {%endfor%}
                </div>
            </div>
        </div>
    </div>
</div>

{% endblock %}